﻿<UserControl
    x:Class="Manhua2.Controls.AsyncIcon"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Manhua2.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    
    mc:Ignorable="d"
    d:DesignHeight="180"
    d:DesignWidth="135">
    
    <Grid>
        <ProgressRing x:Name="progress" IsActive="True" Visibility="Visible" Height="30" Width="30" />
        <Image Stretch="UniformToFill" Source="{Binding Cover}" AutomationProperties.Name="{Binding ComicTitle}"
               ImageOpened="Image_ImageOpened" ImageFailed="Image_ImageFailed" />
    </Grid>
</UserControl>
